package com.stylefeng.guns.modular.pay.dto;



import java.io.Serializable;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商户认证实体对象
 * @author Administrator
 *
 */
@ApiModel(value="商户认证实体对象",description="商户认证")
public class ApiMchRegParams implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String memberId;
	private String merName;	
	private String realName;
	private String idCard;
	private String mobile;
	private String accountNo;			
	private String subBankCode;	
	private String bankCode;
	

	@ApiModelProperty(value="会员id",name="memberId",required=true)
	@NotEmpty(message="memberId参数不能为空")
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	@ApiModelProperty(name="merName",required=true,value="商户名")
	@NotEmpty(message="商户名参数不能为空")
	@Length(max=20,message="商户名超出最大20位长度")
	public String getMerName() {
		return merName;
	}
	public void setMerName(String merName) {
		this.merName = merName;
	}

	@ApiModelProperty(name="realName",required=true,value="真实姓名")
	@NotEmpty(message="真实姓名参数不能为空")
	@Length(max=20,message="真实姓名超出最大20位长度")
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	@ApiModelProperty(name="idCard",required=true,value="身份证")
	@NotEmpty(message="身份证参数不能为空")
	@Length(max=20,message="身份证超出最大20位长度")
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	@ApiModelProperty(name="mobile",required=true,value="联系电话")
	@NotEmpty(message="联系电话参数不能为空")
	@Length(max=16,message="联系电话超出最大16位长度")
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@ApiModelProperty(name="accountNo",required=true,value="帐号")
	@NotEmpty(message="帐号参数不能为空")
	@Length(max=20,message="帐号超出最大20位长度")
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	@ApiModelProperty(name="subBankCode",required=true,value="联行号")
	@NotEmpty(message="联行号参数不能为空")
	@Length(max=16,message="联行号超出最大16位长度")
	public String getSubBankCode() {
		return subBankCode;
	}
	public void setSubBankCode(String subBankCode) {
		this.subBankCode = subBankCode;
	}
	
	@ApiModelProperty(name="bankCode",required=true,value="银行")
	public String getBankCode() {
		return bankCode;
	}
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}	
	
	
	
	
		

}
